const Koa = require('koa');
const {routerRegister} = require('../router/index')

const bodyParser = require('koa-bodyparser')
 

const app = new Koa();
app.use(bodyParser())
routerRegister(app);

module.exports = {
    app
}
